package com.me.waterphase.listener.contact;

import com.me.waterphase.WaterArtifact;
import com.me.waterphase.utils.PhysicManager.CONTACT_TYPE;

public class ArtifactContact implements ICustomContact {

	private int numberContact;
	private WaterArtifact artifact;
	
	@Override
	public CONTACT_TYPE getContactType() {
		return CONTACT_TYPE.USERDATA_ARTIFACT;
	}
	
	public ArtifactContact(WaterArtifact _artifact)
	{
		artifact = _artifact;
	}
	
	public void increment(){numberContact++;}
	
	public void decrement(){
		if(numberContact > 0)
			numberContact--;
	}
	
	//Getter
	public int getNumberContact(){return numberContact;}
	public WaterArtifact getArtifact() {return artifact;}
	
	//Setter
	public void setNumberContact(int _number){ numberContact = _number;}
	public void setArtifact(WaterArtifact _artifact){artifact = _artifact;}

}
